package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.TagCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 标签分类表
 * @author : 
 * @email : 
 * @since : 2020-03-10 11:41:25
 * @version : v1.0.0
 */
@Mapper
public interface  TagCategoryMapper {

    long insert(TagCategory tagCategory);

    long delete(Long id);

    long update(TagCategory tagCategory);

    TagCategory queryByPrimaryKey(Long id);

    List<TagCategory> query(TagCategory tagCategory);

    //通用查询分类接口
    List<TagCategory> queryList(TagCategory tagCategory);

    List<TagCategory> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("tagCategory") TagCategory tagCategory);

    long queryPageCount( @Param("tagCategory") TagCategory tagCategory);
}